/**
 * output package name
 */
package com.kingdee.eas.jftz.quality;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class WarrantyPhaseEnum extends StringEnum
{
    public static final String PAY_VALUE = "10";
    public static final String CENTRE_VALUE = "20";
    public static final String END_VALUE = "30";

    public static final WarrantyPhaseEnum pay = new WarrantyPhaseEnum("pay", PAY_VALUE);
    public static final WarrantyPhaseEnum centre = new WarrantyPhaseEnum("centre", CENTRE_VALUE);
    public static final WarrantyPhaseEnum end = new WarrantyPhaseEnum("end", END_VALUE);

    /**
     * construct function
     * @param String warrantyPhaseEnum
     */
    private WarrantyPhaseEnum(String name, String warrantyPhaseEnum)
    {
        super(name, warrantyPhaseEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static WarrantyPhaseEnum getEnum(String warrantyPhaseEnum)
    {
        return (WarrantyPhaseEnum)getEnum(WarrantyPhaseEnum.class, warrantyPhaseEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(WarrantyPhaseEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(WarrantyPhaseEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(WarrantyPhaseEnum.class);
    }
}